package com.dmai.capacity.platform.oauth.common.mapper;

import java.util.List;
import java.util.Map;

import com.dmai.capacity.platform.common.model.OauthClient;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dmai.capacity.platform.db.mapper.BaseMapper;


@Mapper
public interface OauthClientMapper extends BaseMapper<OauthClient> {
    List<OauthClient> findList(Page<OauthClient> page, @Param("params") Map<String, Object> params);

    OauthClient findByClientId(@Param("clientId") String clientId, @Param("requestUrl") String requestUrl);
}
